<div class="animated fadeInRight ecommerce">
    <div class="row">
        <div class="col-md-2 padding-r-0">
            <vc:create path="shop/adminShop"></vc:create>
        </div>
        <div class="col-md-10">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="查询条件" namespace="storeOrderCartManage"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('订单编号','storeOrderCartManage')"
                                    v-model="storeOrderCartManageInfo.conditions.cartId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <select class="custom-select" v-model="storeOrderCartManageInfo.conditions.state">
                                    <option value="">{{vc.i18n('请选择状态','storeOrderCartManage')}}</option>
                                    <option value="1001">{{vc.i18n('未购买','storeOrderCartManage')}}</option>
                                    <option value="2002">{{vc.i18n('待发货','storeOrderCartManage')}}</option>
                                    <option value="3003">{{vc.i18n('待收货','storeOrderCartManage')}}</option>
                                    <option value="4004">{{vc.i18n('待评价','storeOrderCartManage')}}</option>
                                    <option value="5005">{{vc.i18n('申请退款','storeOrderCartManage')}}</option>
                                    <option value="6006">{{vc.i18n('退货成功','storeOrderCartManage')}}</option>
                                    <option value="7007">{{vc.i18n('已退款','storeOrderCartManage')}}</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请输入商品名称','storeOrderCartManage')"
                                    v-model="storeOrderCartManageInfo.conditions.prodName" class=" form-control">
                            </div>
                        </div>

                        <div class="col-sm-2">
                            <button type="button" class="btn btn-primary btn-sm" @click="_queryOrdersMethod()">
                                <vc:i18n name="查询" namespace="storeOrderCartManage"></vc:i18n>
                            </button>
                        </div>

                    </div>
                </div>
            </div>
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="订单信息" namespace="storeOrderCartManage"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;"></div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">
                                    <vc:i18n name="订单号" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="平台" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="商铺" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="类型" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="名称" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="数量" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="用户名称" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="支付金额" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="订单状态" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="创建时间" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name="操作" namespace="storeOrderCartManage"></vc:i18n>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="order in storeOrderCartManageInfo.orderCarts">
                                <td class="text-center">{{order.cartId}}</td>
                                <td class="text-center">{{order.appName}}</td>
                                <td class="text-center">{{order.shopName}}</td>
                                <td class="text-center">{{order.cartType == '3307'?'服务':'商品'}}</td>
                                <td class="text-center" v-if="order.cartType == '3307'">{{order.prodName}}</td>
                                <td class="text-center" v-else>{{order.prodName}}({{order.specValue}})</td>
                                <td class="text-center">{{order.cartNum}}</td>
                                <td class="text-center">{{order.personName}}</td>
                                <td class="text-center">{{order.payPrice}}</td>
                                <td class="text-center">{{order.stateName}}</td>
                                <td class="text-center">{{order.createTime}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs" v-on:click="_toAOrderDetail(order)">
                                            <vc:i18n name='详情'></vc:i18n>
                                        </button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>

                </div>
            </div>
        </div>
    </div>

</div>